window.onload = (function () {
  const html = document.getElementById('html')
  const page = document.getElementById('page')
  const marquee = document.getElementById('marquee')
  const mobelImg = document.getElementsByClassName('mobel-img')
  for (let i = 0; i < mobelImg.length; i++) {
    mobelImg[i].addEventListener('click', function () {
      html.style.display = 'none'
      page.style.display = 'block'
    }, false)
  }

  marquee.addEventListener('click', function() {
    html.style.display = 'none'
    page.style.display = 'block'
  }, false)
})()
